package formbeans;

import java.util.ArrayList;
import java.util.List;

import org.mybeans.form.FormBean;

public class SelectnQuestionForm extends FormBean {

	private String[] fixedchoiceCheck;
	
	public String[] getFixedchoiceCheck() {
		return fixedchoiceCheck;
	}

	public void setFixedchoiceCheck(String[] fixedchoiceCheck) {
		this.fixedchoiceCheck = fixedchoiceCheck;
	}
	
	public List<String> checkSelectnQuestionFormErrors(){
		List<String> errors = new ArrayList<String>();
		
		if (fixedchoiceCheck == null) {
			errors.add("Invalid choice (null)");
		}
		return errors;
	}
}